<table class="table table-bordered" id="discount-table">
    <thead>
    <tr>
        <th>权益名称</th>
        <th>权益说明</th>
        <th>链接地址</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <tr class="showData">
        <td><input type="text" name="actions[vip_discount][name]" class="form-control"
                   value="{{$plan->actions['vip_discount']['name']}}"></td>
        <td><input type="text" name="actions[vip_discount][detail]" class="form-control"
                   value="{{$plan->actions['vip_discount']['detail']}}"></td>
        <td><input type="text" name="actions[vip_discount][link]" class="form-control"
                   value="{{$plan->actions['vip_discount']['link']}}" placeholder="请输入公众号文章"></td>
        <td>
            <div class="i-checks"><label> <input type="radio" name="actions[vip_discount][status]"
                                                 value="1" {{$plan->actions['vip_discount']['status']?'checked':''}}>启用</label>
            </div>
            <div class="i-checks"><label> <input type="radio" name="actions[vip_discount][status]"
                                                 value="0" {{$plan->actions['vip_discount']['status']?'':'checked'}}>不启用</label>
            </div>
        </td>
    </tr>
    <tr class="showData">
        <td><input type="text" name="actions[vip_birthday][name]" class="form-control"
                   value="{{$plan->actions['vip_birthday']['name']}}"></td>
        <td><input type="text" name="actions[vip_birthday][detail]" class="form-control"
                   value="{{$plan->actions['vip_birthday']['detail']}}"></td>
        <td><input type="text" name="actions[vip_birthday][link]" class="form-control" placeholder="请输入个人中心地址"
                   value="{{$plan->actions['vip_birthday']['link']}}"></td>
        <td>
            <div class="i-checks"><label> <input type="radio" name="actions[vip_birthday][status]"
                                                 value="1" {{$plan->actions['vip_birthday']['status']?'checked':''}}>启用</label>
            </div>
            <div class="i-checks"><label> <input type="radio" name="actions[vip_birthday][status]"
                                                 value="0" {{$plan->actions['vip_birthday']['status']?'':'checked'}}>不启用</label>
            </div>
        </td>
    </tr>

    <tr class="showData">
        <td><input type="text" name="actions[vip_customized][name]" class="form-control"
                   value="{{$plan->actions['vip_customized']['name']}}"></td>
        <td><input type="text" name="actions[vip_customized][detail]" class="form-control"
                   value="{{$plan->actions['vip_customized']['detail']}}"></td>
        <td><input type="text" name="actions[vip_customized][link]" class="form-control"
                   value="{{$plan->actions['vip_customized']['link']}}"></td>
        <td>
            <div class=" i-checks"><label> <input type="radio" name="actions[vip_customized][status]"
                                                  value="1" {{$plan->actions['vip_customized']['status']?'checked':''}}>启用</label>
            </div>
            <div class="i-checks"><label> <input type="radio" name="actions[vip_customized][status]"
                                                 {{$plan->actions['vip_customized']['status']?'':'checked'}}  value="0">不启用</label>
            </div>
        </td>
    </tr>


    <tr class="showData">
        <td><input type="text" name="actions[vip_agent][name]" class="form-control"
                   value="{{$plan->actions['vip_agent']['name']}}"></td>
        <td><input type="text" name="actions[vip_agent][detail]" class="form-control"
                   value="{{$plan->actions['vip_agent']['detail']}}"></td>
        <td><input type="text" name="actions[vip_agent][link]" class="form-control"
                   value="{{$plan->actions['vip_agent']['link']}}" placeholder="请输入公众号文章"></td>
        <td>
            <div class="i-checks"><label> <input type="radio" name="actions[vip_agent][status]"
                                                 value="1" {{$plan->actions['vip_agent']['status']?'checked':''}}>启用</label>
            </div>
            <div class="i-checks"><label> <input type="radio" name="actions[vip_agent][status]"
                                                 value="0" {{$plan->actions['vip_agent']['status']?'':'checked'}}>不启用</label>
            </div>
        </td>
    </tr>
    <tr class="showData">
        <td><input type="text" name="actions[vip_activity][name]" class="form-control"
                   value="{{$plan->actions['vip_activity']['name']}}"></td>
        <td><input type="text" name="actions[vip_activity][detail]" class="form-control"
                   value="{{$plan->actions['vip_activity']['detail']}}"></td>
        <td><input type="text" name="actions[vip_activity][link]" class="form-control"
                   value="{{$plan->actions['vip_activity']['link']}}" placeholder="请输入公众号文章或小程序地址"></td>
        <td>
            <div class="i-checks"><label> <input type="radio" name="actions[vip_activity][status]"
                                                 value="1" {{$plan->actions['vip_activity']['status']?'checked':''}}>启用</label>
            </div>
            <div class="i-checks"><label> <input type="radio" name="actions[vip_activity][status]"
                                                 value="0" {{$plan->actions['vip_activity']['status']?'':'checked'}}>不启用</label>
            </div>
        </td>
    </tr>
    <tr class="showData">
        <td><input type="text" name="actions[vip_support][name]" class="form-control"
                   value="{{$plan->actions['vip_support']['name']}}"></td>
        <td><input type="text" name="actions[vip_support][detail]" class="form-control"
                   value="{{$plan->actions['vip_support']['detail']}}"></td>
        <td><input type="text" name="actions[vip_support][link]" class="form-control" placeholder="请输入公众号文章或小程序地址"
                   value="{{$plan->actions['vip_support']['link']}}"></td>
        <td>
            <div class="i-checks"><label> <input type="radio" name="actions[vip_support][status]"
                                                 value="1" {{$plan->actions['vip_support']['status']?'checked':''}}>启用</label>
            </div>
            <div class="i-checks"><label> <input type="radio" name="actions[vip_support][status]"
                                                 value="0" {{$plan->actions['vip_support']['status']?'':'checked'}}>不启用</label>
            </div>
        </td>
    </tr>
    </tbody>
</table>